package com.fengmi.goods.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fengmi.entity.goods.MallGoods;
import com.fengmi.entity.goods.MallGoodsCat;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 小马
 * @since 2021-10-12
 */
public interface MallGoodsMapper extends BaseMapper<MallGoods> {
    public List<MallGoodsCat> selectHotCat();

    public List<MallGoods>  findGoodsByCatId(@Param("catId")String catId,@Param("topn")String topn);

    public List<MallGoods> findGoodsSpuInfo();
}
